
import 'dart:convert';

RemoveClassStudentDto removeClassStudentDtoFromJson(String str) => RemoveClassStudentDto.fromJson(json.decode(str));

String removeClassStudentDtoToJson(RemoveClassStudentDto data) => json.encode(data.toJson());

class RemoveClassStudentDto {
    RemoveClassStudentDto({
        this.className,
        this.students,
    });

    String? className;
    List<String>? students;

    factory RemoveClassStudentDto.fromJson(Map<String, dynamic> json) => RemoveClassStudentDto(
        className: json["className"],
        students: json["students"]!=null ? List<String>.from(json["students"].map((x) => x)) : null,
    );

    Map<String, dynamic> toJson() => {
        "className": className,
        "students": students!=null ? List<dynamic>.from(students!.map((x) => x)): null,
    };
}
